//
//  UIView+XHHAdditions.h
//  XHH_MeiTuan
//
//  Created by xiaohuihui on 2016/10/12.
//  Copyright © 2016年 30-陈辉华. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (XHHAdditions)

@property(nonatomic,assign)CGFloat xhh_width;
@property(nonatomic,assign)CGFloat xhh_height;
@property(nonatomic,assign)CGFloat xhh_x;
@property(nonatomic,assign)CGFloat xhh_y;
@property(nonatomic,assign)CGFloat xhh_centerX;
@property(nonatomic,assign)CGFloat xhh_centerY;
@property(nonatomic,assign)CGFloat xhh_right;
@property(nonatomic,assign)CGFloat xhh_bottom;
@property(nonatomic,assign)CGSize xhh_size;

+(instancetype)xhh_viewFromNib;

-(BOOL)xhh_intersectWithView:(UIView *)view;

@end
